package com.feicheng.house.service;

import com.feicheng.house.entity.Role;
import com.feicheng.house.result.ResultInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author feichengTech
 * @since 2021-10-30
 */
public interface IRoleService extends IService<Role> {
	public ResultInfo deleteRole(Integer roleId);

	public ResultInfo addRole(Role role, String permissions);

	public ResultInfo updateRole(Role role, String permissions);
	
	public ResultInfo getRoleById(Integer roleId);
	
	public ResultInfo all();
	
	public ResultInfo list(
			String roleName,
			Boolean status,
			Integer currentPage,
			Integer pageSize
			) ;

}
